package com.edunera.connection;

import android.content.Context;
import com.edunera.R;

/**
 * Created with IntelliJ IDEA.
 * User: Soyhan
 * Date: 12.06.2013
 * Time: 21:40
 * To change this template use File | Settings | File Templates.
 */
public abstract class TaskLoginToEdunera extends BaseTask {
    String userDeviceId;
    String email;
    String password;
    public boolean status;
    public TaskLoginToEdunera(Context context, String userDeviceId,String email,String Password) {
        super(context, R.string.loading);
        this.userDeviceId = userDeviceId;
        this.email=email;
        this.password=Password;
    }



    @Override
    public void doTask() {
         this.status= Connection.loginToEdunera(email,password,userDeviceId);
    }

    @Override
    public abstract void onComplete();
}
